package com.deep.bilibili.dto;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

public class FileDto implements Serializable {
    @NotNull
    private Integer id;
    private String name;
    private String url;
    private String rtmpUrl;
    private String flvUrl;
    private String webrtcUrl;
    private String hlsUrl;
    private String cover;
    private String mime;
    private Long size;

    public FileDto() {
    }

    public FileDto(Integer id, String name, String url, Long size) {
        this.id = id;
        this.name = name;
        this.url = url;
        this.size = size;
    }

    public FileDto(Integer id, String name, String url, String cover, Long size) {
        this.id = id;
        this.name = name;
        this.url = url;
        this.cover = cover;
        this.size = size;
    }

    public FileDto(Integer id, String name, String url, String cover, String mime, Long size) {
        this.id = id;
        this.name = name;
        this.url = url;
        this.cover = cover;
        this.mime = mime;
        this.size = size;
    }


    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public String getMime() {
        return mime;
    }

    public void setMime(String mime) {
        this.mime = mime;
    }

    public String getRtmpUrl() {
        return rtmpUrl;
    }

    public void setRtmpUrl(String rtmpUrl) {
        this.rtmpUrl = rtmpUrl;
    }

    public String getFlvUrl() {
        return flvUrl;
    }

    public void setFlvUrl(String flvUrl) {
        this.flvUrl = flvUrl;
    }

    public String getWebrtcUrl() {
        return webrtcUrl;
    }

    public void setWebrtcUrl(String webrtcUrl) {
        this.webrtcUrl = webrtcUrl;
    }

    public String getHlsUrl() {
        return hlsUrl;
    }

    public void setHlsUrl(String hlsUrl) {
        this.hlsUrl = hlsUrl;
    }
}
